/*
 * @Description:
 * @version:
 * @Author: sunqian_sr
 * @Date: 2023-02-20 19:05:56
 * @LastEditors: Andy
 * @LastEditTime: 2023-02-21 15:24:43
 */
import i18n from '@/common/lang'

export const columns = [
  {
    label: i18n.t('config.agreement.name'),
    width: 'auto',
    prop: 'agreementName',
    fixed: true
  },
  {
    label: i18n.t('config.agreement.code'),
    width: 'auto',
    prop: 'agreementCode',
    fixed: true
  },
  {
    label: i18n.t('config.agreement.type'),
    width: 'auto',
    prop: 'agreementType',
    fixed: true
  },
  {
    label: i18n.t('config.agreement.descir'),
    width: 'auto',
    prop: 'remark'
  },
  {
    label: i18n.t('config.agreement.toStart'),
    minWidth: 110,
    prop: 'state',
    width: 'auto'
  },
  {
    label: i18n.t('config.agreement.creatTime'),
    prop: 'createTime',
    minWidth: 140,
    width: 'auto'
  }
]
export const actions = [
  {
    key: 'edit',
    text: i18n.t('common.edit'),
    permissions: 'srm:agreement:updata'
  },
  {
    key: 'delete',
    text: i18n.t('common.delete'),
    permissions: 'srm:agreement:delete'
  }
]
